package org.thanos.demo.service;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class TaskEntity {

    private Integer id;

    private String name;

    private Integer type;

    private String processor;

    private String param;

    private Boolean enable;

    private String cron;

    private Long interval;

    private Long initialDelay;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
